<!DOCTYPE html>
<html lang="en">

<head>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>凑单品页面</title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./lib/mui/css/mui.css">
    <link rel="stylesheet" href="./lib/fontawesome/css/font-awesome.css">
    <link rel="stylesheet" href="./css/addItem.css">

</head>

<body>
    @@include("nav.html",{"pagename":"凑单品"})
    <div class="mmm_view">
        <div class="coudan_box">
            <div class="list_title">
                <div class="cd_left">
                    <ul class="cd_list clearfix">
                        <li>
                            <a class="list_shop" href="#item1">京东</a><i class="mui-icon mui-icon-arrowdown"></i>
                        </li>
                        <li>
                            <a class="list_area" href="#item2">华北 </a><i class="mui-icon mui-icon-arrowdown"></i>
                        </li>
                        <li>
                            <a class="list_price" href="#item3">全部价格 </a><i class="mui-icon mui-icon-arrowdown"></i>
                        </li>
                    </ul>
                </div>
                <div class="cd_right">
                    <span class="mui-icon mui-icon-search"></span>
                </div>
            </div>
            <div class="list_content">
                <ul class="cd_content_shop">

                </ul>
                <ul class="cd_content_area">

                </ul>
                <ul class="cd_content_price">
                    <li>
                        <a href="javascript:;">只有全部价格哦!!!</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="mmm_product">
            <ul class="pro_data">
                
            </ul>
        </div>
    </div>
    @@include("footer.html")



    <!-- 商店渲染模板 -->
    <script type="text/html" id="shopTp">
        {{each shopArr value index}}
        <li data-shopId={{value.shopId}} class="shop{{index}}">
            <a href="javascript:;" class="{{index==0?'fa fa-check':''}}">{{value.shopName}}</a>
        </li>
        {{/each}}
    </script>
    <!-- 地区渲染模板 -->
    <script type="text/html" id="areaTp">
        {{each areaArr value index}}
        <li data-areaid={{value.areaId}}>
            <a href="javascript:;" class="{{index==0?'fa fa-check':''}}">{{value.areaName}}</a>
        </li>
        {{/each}}
    </script>

    <!-- 过滤后的产品渲染模板 -->
    <script type="text/html" id="productTp">
        {{each proArr value index}}
        <li>
            <a href="javascript:;">
                <img src="{{value.productImg}}" alt="">
                <p class="pro_title">{{value.productName}}</p>
                <p class="pro_price">￥<span>{{value.productPrice.substring(1)}}</span></p>
            </a>
        </li>
        {{/each}}
    </script>

    <script src="./lib/arttemplate/template-web.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/zepto/zepto.js"></script>
    <script src="./js/addItems.js"></script>
</body>

</html>